package com.bean.pojo;

import com.google.gson.annotations.Expose;
import org.apache.ibatis.type.Alias;

/**
 * @author: 晓帆
 * @description:
 * @create: 2021-06-17 17:20
 **/
@Alias(value = "space")
public class Space {
    private Integer id;

    private  String specName;

    private Integer stockNum;

    private double unitPrice;

    private Integer goodId;

    public Space(Integer id, String specName, Integer stockNum, double unitPrice) {
        this.id = id;
        this.specName = specName;
        this.stockNum = stockNum;
        this.unitPrice = unitPrice;
    }

    public Space() {
    }

    public Space(Integer id, String specName, Integer stockNum, double unitPrice, Integer goodId) {
        this.id = id;
        this.specName = specName;
        this.stockNum = stockNum;
        this.unitPrice = unitPrice;
        this.goodId = goodId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public Integer getStockNum() {
        return stockNum;
    }

    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    public double getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }
}
